Release 10.1A: OpenEdge Development:
AppBuilder


Example of sendReplyHandler code

This code might be used in the sendReplyHandler procedure of some INMESSAGE-TARGET object other than a SmartB2BObject, for example a SmartReceiver:

DEFINE INPUT PARAMETER hReplyMessage AS HANDLE NO-UNDO. 
/* 
** Set message properties  
*/ 
DYNAMIC-FUNCTION(‘setBooleanProperty’:U IN hMessage, 
         INPUT ‘backordered’:U, 
         INPUT TRUE). 
DYNAMIC-FUNCTION(‘setDoubleProperty’:U IN hMessage, 
         INPUT ‘minorderamount’:U, 
         INPUT 1500.00). 
/*  
** Assign the message body  
*/ 
RUN setMemptr IN hReplyMessage  
(INPUT mMessage, 
 INPUT 1, 
INPUT 200). 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095